package com.frank.oj.service.admin.problem;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.frank.model.entity.problem.Problem;
import com.frank.oj.common.exception.StatusFailException;
import com.frank.oj.common.result.CommonResult;
import com.frank.oj.model.dto.ChangeGroupProblemProgressDTO;

/**
 * @author frank
 * @Date 2024/4/5
 */
public interface AdminGroupProblemService {
    IPage<Problem> getProblemList(Integer currentPage, Integer limit, String keyword, Long gid);

    void changeProgress(ChangeGroupProblemProgressDTO changeGroupProblemProgressDto) throws StatusFailException;
}
